<?php
View::load("module/topper");
?>
<title>提交作业</title>
</head>
<body>
<?php 
	View::load("module/header", "job");
?>
<div class="container">
	<div class="hero-unit">
		<h1>提交作业</h1>
		<p>提交作业和配置文件到云端，然后等待结果。</p>
	</div>
	<div>
		<form class="form-horizontal well" action="/hcs/job/submit" method="post">
			<fieldset>
				<legend>作业内容</legend>
				<div class="control-group">
					<label class="control-label" for="jobfile">作业文件</label>
					<div class="controls">
						<input type="file" class="input-file" name="jobfile" id="jobfile">
						<p class="help-block">请选择上传期望执行的作业文件</p>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="configfile">配置文件</label>
					<div class="controls">
						<input type="file" class="input-file" name="configfile" id="configfile">
						<p class="help-block">请选择上传与作业文件对应的配置文件</p>
					</div>
				</div>
			</fieldset>
			<fieldset>
				<legend>提交</legend>
				<div class="form-actions">
					<button type="submit" class="btn btn-primary">提交执行</button>
				</div>			
			</fieldset>
		</form>
	</div>
<?php 
	View::load("module/footer");
?>
</div>
</body>
</html>